import Vue from 'vue'
import Router from 'vue-router'
import liebiao from '@/components/page/liebiao'
import index from '@/components/page/index'
import gouwuche from '@/components/page/gouwuche'
import dingdan from '@/components/page/dingdan'
import login from '@/components/page/login'
import register from '@/components/page/register'
import self from '@/components/page/self'
import details from '@/components/page/details'
import ForumDetails from '@/components/page/ForumDetails'
import ForumClass from '@/components/page/ForumClass'
import ForumDiscuss from '@/components/page/ForumDiscuss'
import ForumReply from '@/components/page/ForumReply'
import Personal from '@/components/page/Personal'
import activity from '@/components/page/activity'
Vue.use(Router)

export default new Router({
	mode: 'history',
	routes: [{
		path: '/index',
		name: 'index',
		component: index
	}, {
		path: '/liebiao',
		name: 'liebiao',
		component: liebiao
	}, {
		path: '/gouwuche',
		name: 'gouwuche',
		component: gouwuche
	}, {
		path: '/dingdan',
		name: 'dingdan',
		component: dingdan
	}, {
		path: '/login',
		name: 'login',
		component: login
	}, {
		path: '/register',
		name: 'register',
		component: register
	}, {
		path: '/self',
		name: 'self',
		component: self
	}, {
		path: '/details',
		name: 'details',
		component: details
	}, {
		path: '/ForumDetails',
		name: 'ForumDetails',
		component: ForumDetails
	}, {
		path: '/ForumClass',
		name: 'ForumClass',
		component: ForumClass
	}, {
		path: '/ForumDiscuss',
		name: 'ForumDiscuss',
		component: ForumDiscuss
	}, {
		path: '/ForumReply',
		name: 'ForumReply',
		component: ForumReply
	}, {
		path: '/Personal',
		name: 'Personal',
		component: Personal
	}, {
    path: '/activity',
    name: 'activity',
    component: activity
  }]
})
